﻿using YDT_SeckillService.Domain.Enums;

namespace YDT_SeckillService.Applictions.DTOs
{
    /// <summary>
    /// 创建秒杀商品数据传输对象
    /// </summary>
    public class CreateSeckillProductDto
    {
        /// <summary>商品编号</summary>
        public Guid ProductId { get; set; }
        /// <summary>秒杀名称</summary>
        public string SeckillName { get; set; } = string.Empty;
        /// <summary>秒杀URL</summary>
        public string SeckillUrl { get; set; } = string.Empty;
        /// <summary>秒杀价格</summary>
        public decimal SeckillPrice { get; set; }
        /// <summary>秒杀库存</summary>
        public int SeckillStock { get; set; }
        /// <summary>秒杀限制数量</summary>
        public int SeckillLimit { get; set; }
        /// <summary>秒杀描述</summary>
        public string SeckillDescription { get; set; } = string.Empty;
        /// <summary>秒杀类型</summary>
        public SeckillType SeckillType { get; set; } = SeckillType.Normal;
    }
}
